package com.zxf.appliction.domain;

import java.util.Date;

public class Messages {
	private String message;//消息
	private Date posted;//消息发布时间
	private String id;//消息id号
	private String uid;//消息发布者的id
	private String loginame;//发布者昵称
	
	
	public Messages() {
		super();
	}
	public Messages(String message, Date posted, String id, String uid,
			String loginame) {
		super();
		this.message = message;
		this.posted = posted;
		this.id = id;
		this.uid = uid;
		this.loginame = loginame;
	}
	@Override
	public String toString() {
		return "Messages [message=" + message + ", posted=" + posted + ", id="
				+ id + ", uid=" + uid + ", loginame=" + loginame + "]";
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Date getPosted() {
		return posted;
	}
	public void setPosted(Date posted) {
		this.posted = posted;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getLoginame() {
		return loginame;
	}
	public void setLoginame(String loginame) {
		this.loginame = loginame;
	}
	

}
